Network Authorization System and Method Using Rapidly Changing Network Keys

ABSTRACT

A system and method for authorizing a client device to access a host device based on timestamps including preferably at least two time units. Both devices contain multiple sequence tables that relate an order of time units to the value of one of the time units. Both devices also contain multiple string tables that relate strings to values of the time units within the timestamps. When the client device wants to access the host, it generates a first timestamp and sends the host device the first timestamp and the character strings from host tables related to the value of time units of the first timestamp. The host tables are known to all authorized client devices within the network. The strings are ordered according to a sequence table in the client device and the host device. When received, the host device compares the received characters strings to the character strings within its host string table based on an order determined by its host sequence table. If the character strings and order match, the host sends the client a second timestamp and the process is repeated using the second timestamp and sequence and string tables associated with, and known only to, the client device and the host device. In addition, the client, which may be monitored or controlled by the host, is able to request ongoing re-verification of the hosts authorization to detect and prevent unauthorized access from a third party. The rapidly changing timestamps and network keys eliminate recursive efforts to access these protected devices from an unauthorized third party.

CROSS REFERENCES TO RELATED APPLICATIONS

This is a continuation application claiming priority to and the benefit of U.S. application Ser. No. 15/279,992, filed Sep. 29, 2016, which is hereby incorporated by reference herein.

FEDERALLY SPONSORED RESEARCH

Not applicable.

BACKGROUND OF THE INVENTION 1. Field of the Invention

This invention relates generally to network security. More specifically, the invention relates to a system and method for ensuring a first network device, such as a client device, is authorized to access a second network device, such as a host device.

2. Background of the Related Art.

Many network security methodologies rely on data encryption and/or password protection that uses a static (i.e., unchanging) key or password. While this methodology can prevent unauthorized users from gaining access to certain network devices, a fixed key or password is vulnerable to cracking by capturing sufficient packets or launching a dictionary attack. Therefore, the most efficient way to protect the network from such attacks is to generate the key or password dynamically.

BRIEF SUMMARY OF THE INVENTION

The invention is a system and method for authenticating a client device having a device ID for access to a host device. This system and method are useful, for example, where one party is in communication with a remote device such as to control, monitor, or modify its behavior and requires verification that the connection has not been accessed without authorization.

The method of the present invention comprises the steps of generating a first timestamp with the client device, the first timestamp including data representative of the value of preferably at least two time units; retrieving a first group of character strings from a host string table in the client device, each character string being related within the host string table to the value of a time unit of the first timestamp; concatenating the first group of character strings into a first string set in an order determined by a host sequence table in the client device, the host sequence table relating an order of time units to the value of one of the time units; creating an initiating string with the client device, the initiating string including the device identifier, the first timestamp, and the first string set; sending the initiating string to the host device; retrieving a second group of character strings from a host string table in the host device, each character string being related within the host string table to the value of a time unit of the first timestamp; concatenating the second group of character strings into a second string set in an order determined by a host sequence table in the host device, the host sequence table relating an order of time units to the value of one of the time units; comparing the first string set to the second string set; generating a second timestamp with the host device, the second timestamp preferably including at least two time units; sending the second timestamp to the client device; retrieving a third group of character strings from a client string table in the client device, each character string being related within the client table to the value of a time unit of the second timestamp; concatenating the third group of character strings into a third string set in an order determined by a client sequence table in the client device, the client sequence table relating an order of time units to the value of one of the time units; creating a verification string with the client device, the verification string including the device identifier, the second timestamp, and the third string set; sending the verification string to the host device; retrieving a fourth group of character strings from a client string table in the host device, the client string table being associated with the client device; concatenating the fourth group of character strings into a fourth string set in an order determined by a client sequence table within the host device, the client sequence table associated within the client device and relating an order of time units to the value of one of the time units; and comparing the fourth string set with the third string set.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of a system embodying the invention.

FIG. 2 shows the a sequence table in the host and client device in more detail.

FIG. 3 shows an embodiment with a “medium security” host string table described with reference to FIG. 1.

FIG. 4, which consists of FIG. 4A-4C, shows an embodiment of the method of the present invention.

DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS

FIG. 1 shows an embodiment 20 of the invention with a host device 22 and a client device 24. The devices 22, 24 are in network communication and each includes a device clock 25 or other source from which a timestamp can be generated. In this embodiment 20, the timestamp includes eight time units: year (y), month (m), week (w), day of month (d), hour (h), minute (n), second (s), and millisecond (ms).

As used in this description, a “host device” is a network device to which another device, a “client device,” may attempt to gain access. While this description contemplates one device acting in a “host” role and another device acting in a “client” role, for other applications the roles could be reversed for the same two devices—that is, “host” or “client” refers to whether the device is requesting or authenticating access rather than specific physical characteristics of the device. Moreover, the devices 22, 24 may be any device residing in a network environment, such as a computer, vehicle, or building embodied with electronics and software to enable network connectivity and the exchange of data with other such devices.

The host device 22 includes a computer readable medium containing a first set of host tables 31 (i.e., data relationships) and a first set of client tables 32. The first set of host tables 31 includes a host sequence table 33 and three host string tables 37, 39 41. The host sequence table 33 relates the value of time units of a timestamp to an order of the time units composing the timestamp.

Referring to FIG. 2, the host sequence table 33 relates the value of the millisecond time unit of the timestamp to an order of the time units. For example, if the millisecond value of the timestamp is “000,” the string sequence is “m, n, ms, y, w, h, s, d.” If the millisecond value is “002,” the string sequence is “s, h, d, ms, w, y, n, m.” In this table 33, each sequence is unique and random within the table 33. In alternative embodiments, the host sequence tables may be more or less complicated by, for example, increasing (or decreasing) the number of time units used from the timestamp. If millisecond values are not available then the table can be created using other time units, such as just seconds or minutes and seconds.

Referring back to FIG. 1, each of the host string tables 37, 39, 41 contains randomly generated eight-character strings of characters, with each string related to a time unit of a timestamp. The strings may be formed of a sequence of any types of characters, such as ASCII codes, extended ASCII codes, non-English language characters, and the like. In other embodiments, the strings may be of differing lengths (e.g., some 6 characters, others 7 characters, still others 8 characters, and so on).

In this embodiment 20, the first host string table 37 is a “high security” table, the second host string table 39 is a “medium security” table, and the third table 41 is a “low security” table. The differences between the string tables 37, 39, 41 are generally the complexity of character strings and the amount of data relationships: The higher the security level, the more complex the string and more strings are related to the timestamp (e.g., more time units are used). For example, the “high security” table 37 uses alphanumeric characters and special characters (e.g., @, #, $, %, <, >, &, *) in its character strings and all eight time units of the timestamp. The “medium security” table 39, partially shown in FIG. 3, relates strings of eight alpha-numeric characters (but not special characters) for each possible time unit value. The table includes one thousand rows to account for all possible values for the “millisecond” time unit (0 to 999). The low security table uses less time units and/or less complex data (e.g., only lower case alpha characters).

Referring again to FIG. 1, the first set of client tables 32 includes a first set of client sequence tables 34. Each client sequence table within the set 34 is associated with a client device that may have authorized access to the host device 22 (e.g., client device 24) and relates a time unit of a timestamp to an order of the time units of the timestamp. Each table within the first set of client sequence tables 34 may be, but is preferably not, identical to the host sequence table 33.

The first set of client tables 32 also includes at least one client string table for each client device (e.g., client device 24) that may have authorized access to the host device 22. In this embodiment 20, the first set of client tables 32 includes three sets of client string tables 38, 40, 42. The first set 38 includes “high security” tables, the second set 40 includes “medium security” tables, and the third set 42 includes “low security” tables as previously discussed.

In this embodiment, each table within the client string table sets 38, 40, 42 contains randomly generated eight-character strings of characters, with each string related to a time unit of a timestamp. The strings may be formed of a sequence of any types of characters, such as ASCII codes, extended ASCII codes, non-English language characters, and the like. The strings may also be of differing lengths. Each table within the client string tables 38, 40, 42 may be, but is preferably not, identical to any of the host string tables 37, 39, 41. Moreover, each table is preferably, but not necessarily unique in the host device 22.

Referring now to the client device 24, a computer readable medium contains a second set of host tables 43 and a second set of client tables 44. The second set of host tables 43 includes a second host sequence table 45 that is identical to the first host sequence table 33. The second set of host tables 43 further includes a host string table 47 that is identical to the second host string table 39. The client device 24 has a fixed security level (e.g., in this embodiment, only “medium”) and thus requires only one table. Client devices with a variable security level require one table for each possible security level, with each of the tables being identical to a table in the first set of host tables 31.

The second set of client tables 44 is composed of a client sequence table 46 that relates the value of a time unit of a timestamp to an order of the time units composing the timestamp. The client sequence table 46 may be, but is preferably not, identical to the host sequence table 33.

The second set of client tables 44 further includes a client string table 48 that is identical to a table in the second set of client string tables 40 in the host device 22. The client device 24 has a fixed security level (e.g., in this embodiment, only “medium”) and requires only one table 48. Client devices with a variable security level require one client string table for each possible security level. The client device 24 also includes a device identifier 49 that is unique to the client device 24 within the network.

FIGS. 4A-4C together show the authentication method of the invention described where the client device 24 (see FIG. 1) is attempting to gain authorized access to the host device 22 (see FIG. 1). Referring first to FIG. 4A, in step 101, the client device 24 generates a first timestamp with its clock 25 based on the current time. The first timestamp includes eight time units: year, month, week, day of month, hour of day, minute, second, and millisecond. In step 102, the client device 24 parses the first timestamp to retrieve the values of each time unit. In step 103, using the values retrieved in step 103, the client device 24 retrieves, from the host string table 47, a first group of character strings related to time unit values of the first timestamp. In step 104, the client device 24 retrieves the string sequence from the client sequence table 46.

In step 105, the client device 24 generates an initiating string that includes the client device's 24 device identifier 49, the current security level of the client device 24, the first timestamp, and a first string set formed by concatenating the first group of character strings in the order retrieved in step 104.

Referring to FIG. 2, for example, if the timestamp represents Jul. 7, 2015 at 06:04:02.002 (which falls in the 27th week of the year), the order of concatenation based on the host sequence table 45 (which is identical to host sequence table 33) (FIG. 2) is: second, hour, day, millisecond, week, year, minute, month. Assembling the strings from the host string table 47 (FIG. 3) in this order, the concatenated first string set is: 8nB494RQ 2tLeA1CN fK1lB4mP tK977810 Z5i59S3J pM281J5u W5oAQ0ck S9i9JXhv (spaces have been inserted between each string for readability in the application, but are not included in the first string set). In alternative embodiments, the character strings may be of differing lengths, which provides an added layer of security by preventing an eavesdropper from being able to predictably determine where each character string starts within the first string set.

In step 106, the client device 24 sends the initiating string to the host device 22. When the host device 22 receives the initiating string, it verifies (step 107) the data format is correct and the client device 24 is among those network devices that may, subject to completion of the authorization process, access to the host device 22. If the format is not correct or if the device 24 is barred from access, the host device 22 blocks the connection (step 117) and the process stops.

In step 110, the host device 22 reads the initiating string, including the first string set and the timestamp, and retrieves, from the corresponding host table, a second group of character strings, each related to a time unit value of the first timestamp. These are concatenated in an order determined by the host sequence table 33 into a second string set. In step 111, the host device 22 compares the first string set with the second string set. If the first string set does not match the second string set, the host device 22 blocks access (step 117) and the device ID and timestamp are recorded (step 118) so that any subsequent attempts by the client device 24 to access the host device 22 are blocked automatically, and the method stops.

If the first string set matches the second string set, the host device 22 generates a second timestamp (step 114) with eight time units, which it sends to the client device 24 (step 115). Upon receipt of the second timestamp, the client device 24 parses the second timestamp to retrieve the values of each time unit (116).

Referring to FIG. 4B, in step 119, the client device 24 retrieves, from the local client table for the appropriate security level, a third group of character strings, each related to a time unit value of the second timestamp. In step 120, the client device 24 retrieves the string sequence from the client sequence table 46. In step 121, the client device 24 generates a verification string that includes the client device's 24 device identifier 49, the security level of the client device 24, and a third string set formed by concatenating the third group of character strings in an order determined by the client sequence table 46. The client device 24 then sends the verification string to the host device (step 122).

In step 123, the host device 22 retrieves, from the client table associated with the client device 24 and appropriate security level, a fourth group of character strings related to time unit values of the second timestamp. These are concatenated into a fourth string set in an order determined by the client sequence table 34 corresponding to the device ID 49 of the client device 24. The host device 22 compares the third string set with the fourth string set. If they are identical, the host device 22 grants access to the next stage of the login process (step 126) (e.g., password login), if any, and the process continues. If the information is incorrect, access is blocked (step 117), and the device ID and timestamp are recorded (step 118) so that any subsequent attempts by the client device 24 to access the host device 22 are blocked automatically, and the method stops.

Referring to FIG. 4C, if the client device 24 needs to intermittently re-verify the identity of the host device 22 (step 127), after this initial authentication is complete, the client device generates a third timestamp (step 128). In step 129, the client device 24 sends the device ID 49, the security level of the client device 24, and the third timestamp to the host device 22.

When received, the host device 22 parses the third timestamp to retrieve the values of each time unit (step 130). In step 130, using the values retrieved in step 131, the host device 24 retrieves, from the client string table 40, a fifth group of character strings related to time unit values of the third timestamp. In step 132, the host device 24 retrieves the string sequence from the client sequence table 34.

In step 133, the host device 22 generates a re-verification string that includes the client device's 24 device ID 49, the security level of the client device 24, the third timestamp, and a fifth string set formed by concatenating the fifth group of character strings in the order retrieved in step 132. The host device 22 then sends the re-verification string to the client device 24 (step 134),

When the client device 24 receives the re-verification string, it verifies (step 135) the data format is correct and the host device 22 is among those network devices that may, subject to completion of the authorization process, continue to access the client device 24. If the format is not correct or if the host device 22 is barred from access, the client device 24 blocks or breaks the connection (step 136), and the event recorded (step 137) so that any subsequent attempts by the host device 22 to access the client device 24 are blocked automatically, and the method stops.

In step 135, the client device 24 reads the re-verification string, including the fifth string set and the third timestamp, and retrieves, from the corresponding client table, a sixth group of character strings, each related to a time unit value of the third timestamp. These are concatenated in an order determined by the client sequence table 33 into a sixth string set. The client device 24 compares the fifth string set with the sixth string set. If the fifth string set does not match the sixth string set, the client device 24 blocks access (step 136) and the device ID and timestamp are recorded (step 137), and the method stops. If the fifth string set matches the sixth string set, the host device 22 access is granted or uninterrupted (step 138). Steps 127-138 may be repeated as needed by the system with additional (e.g., fourth, fifth, and so on) timestamps and corresponding string sets.

The present invention is described in terms of a specifically described embodiment. Those skilled in the art will recognize that other embodiments of such method and system can be used in carrying out the present invention. For example, this invention also contemplates the use of other data structures for transmission of the data including, but not limited to, matrixes, encoded data or any other form in use now or in the future. The creation of the second and fourth concatenated strings to create comparison strings is only one embodiment of this invention. Other aspects and advantages of the present invention may be obtained from a study of this disclosure and the drawings, along with the appended claims. 

I claim:
 1. A system for authorizing network access, the system comprising: a host device having a device clock and a first computer readable medium containing a first host sequence table relating an order of time units of a timestamp to a time unit value of the timestamp, the first computer readable medium further containing at least one host string table relating character strings to time unit values of a timestamp; a first set of client tables in the first computer readable medium, the first set of client tables having a client sequence table relating an order of time units of a timestamp to a time unit value of the timestamp, the first set of client tables further having at least one client string table relating character strings to the values of at least one time unit; and a client device having a device ID and a device clock, the client device in communication with the host device, associated with the first set of client tables in host device, and having a second computer readable medium, the second computer readable medium containing: a second host sequence table identical to the first host sequence table; at least one host string table relating character strings to time unit values of a timestamp, the at least one host table being identical to a host string table within the first computer readable medium; a client sequence table identical to a table of the first set of client tables in the host device; and a client string table identical to a table of the first set of client string tables in the host device. 